package com.jmu.aslongastoday.config;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import javax.annotation.Resource;

@Configuration
public class BeanConfig {

    @Bean
    Gson gson(){
        return new GsonBuilder().create();
    }


}
